DEBUG = 1

ifeq ($(DEBUG), 1)  
    CFLAGS += -D _MY_DEBUG
	OPTION = -g 
endif

test.out : my_log.hpp block_queue.hpp thread_pool.hpp basic_task.hpp debug_task.hpp main.cpp
	g++ $(OPTION) -o $@ $^ -lpthread

.PHONY : clean, debug, release
clean :
	rm test.out